<?php $url = new Url();?>
<div id="main" class="nosidebar">                
    <div id="content">

        <h2>Thiết lập</h2>

        <?php $this->widget("TabSetting");?>

        <div class="tab-content" id="tab-content-members" style="display: block;">
            <div class="splitcontentleft">
                <table class="list members">
                    <thead>
                        <tr>
                            <th>Tài khoản / Group</th>
                            <th>Vai trò</th>
                            <th style="width:15%"></th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr id="member-1228" class="odd member">
                            <td class="user"><a href="javascript:">Nguyen Tuan Anh</a></td>
                            <td class="roles">
                                <span id="member-1228-roles">Manager</span>                                
                                <p>
                                    <label><input checked="checked" id="membership_role_ids_" name="membership[role_ids][]" value="3" type="checkbox"> Manager</label><br>

                                    <label><input id="membership_role_ids_" name="membership[role_ids][]" value="4" type="checkbox"> Developer</label><br>

                                    <label><input id="membership_role_ids_" name="membership[role_ids][]" value="5" type="checkbox"> Reporter</label><br>
                                </p>                                
                                <p><input class="small" name="commit" value="Đổi" type="submit">
                                    <a href="#" onclick="$('#member-1228-roles').show(); $('#member-1228-roles-form').hide(); return false;; return false;">Bỏ qua</a></p>                            
                            </td>
                            <td class="buttons">
                                <a class="icon icon-edit" href="javascript:" onclick="$('#member-1228-roles').hide(); $('#member-1228-roles-form').show(); return false;; return false;">Sửa</a>
                                <a href="javascript:" class="icon icon-del" rel="nofollow">Xóa</a>
                            </td>

                        </tr>
                        <tr id="member-1228" class="even member">
                            <td class="user">
                                <a href="javascript:">Nguyen Tuan Anh</a>
                            </td>
                            <td class="roles">
                                <span id="member-1228-roles">Manager</span>                                            
                            </td>
                            <td class="buttons">
                                <a class="icon icon-edit" onclick="$('#member-1228-roles').hide(); $('#member-1228-roles-form').show(); return false;; return false;" href="javascript:">Sửa</a>
                                <a class="icon icon-del" rel="nofollow" href="javascript:">Xóa</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>

            <div class="splitcontentright">                
                <fieldset><legend>Thành viên mới</legend>

                    <p><label for="principal_search">Search for user or group:</label><input id="principal_search" name="principal_search" type="text"></p>                                    

                    <div id="principals">                                                                                    
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="286" type="checkbox"> Alexandr Eryomin</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="1361" type="checkbox"> Alexandre Coutant</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="593" type="checkbox"> Alexandre Denault</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="659" type="checkbox"> Alexey W.</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="390" type="checkbox"> alfonso benavides</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="1257" type="checkbox"> Alfred Selvarajah</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="347" type="checkbox"> Aliaksej Katarkevich</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="1091" type="checkbox"> Alvin Sun</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="317" type="checkbox"> alvistest alvistest</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="279" type="checkbox"> Alyona Lisitsyna</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="430" type="checkbox"> amelie spieser</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="138" type="checkbox"> Amnon Harel</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="392" type="checkbox"> ana lazarte</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="1345" type="checkbox"> Ana Natali</label>                
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="355" type="checkbox"> Anh Le</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="616" type="checkbox"> Anil Dsa</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="609" type="checkbox"> Anssi J Tiittanen</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="607" type="checkbox"> Anssi Tiittanen</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="335" type="checkbox"> anto anto</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="26" type="checkbox"> Anton Brown</label>
                        <label><input id="membership_user_ids_" name="membership[user_ids][]" value="838" type="checkbox"> Anton Kobzev</label>               
                    </div>

                    <p>Vai trò:
                        <label><input id="membership_role_ids_" name="membership[role_ids][]" value="3" type="checkbox"> Manager</label>
                        <label><input id="membership_role_ids_" name="membership[role_ids][]" value="4" type="checkbox"> Developer</label>
                        <label><input id="membership_role_ids_" name="membership[role_ids][]" value="5" type="checkbox"> Reporter</label>
                    </p>

                    <p><input id="member-add-submit" name="commit" value="Thêm" type="submit"></p>
                </fieldset>                
            </div>
        </div>
        <div style="clear:both;"></div>
    </div>
</div>